package com.yidian.pojo.system;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author whb
 * @create 2021-06-11 13:48
 * @desciption 权限实体类
 */
@Table(name = "tb_resource")
@Data
public class Resource implements Serializable {
    @Id
    private Integer id;//id

    private String resKey;//res_key

    private String resName;//res_name

    private Integer parentId;//parent_id
}
